REPLICATION FILES FOR:  
	
	Does ad hoc language training improve the economic integration of refugees? 
    Evidence from Germany’s response to the Syrian refugee crisis
	Moritz Marbach, Ehsan Vallizadeh, Niklas Harder, Dominik Hangartner, Jens Hainmueller

	Please contact Moritz Marbach if you have any problems 
	or questions with these replication files: m.marbach@ucl.ac.uk
	Current contact details are also available at: www.moritz-marbach.com

	September 27, 2024 


INSTRUCTIONS
============

To replicate the ad-hoc course estimates run: 

./main/10_analysis_ba.do
./main/11_analysis_ba_subsamples.do

To replicate the estimates for the preexisting course run:

./main/21_analysis_bamf.do
./main/22_analysis_bamf.R
./main/23_analysis_bamf.R

To reproduce all figures and tables based on the estimates, 
run the R scripts: 

./main/30_main.R
./main/31_BA_main.R
./main/32_BA_robust.R
./main/33_BA_robust_bw.R
./main/34_BA_robust_donut.R
./main/35_BA_subsample.R
./main/36_BA_heterogeneity.R
./main/37_BA_histogram.R
./main/37_BAMF_main.R
./main/38_BAMF_participation.R
./main/39_descriptives.R


Correspondence between tables/figures and R scripts:
    
Main Text

Figure 1: ./additional/figure_1/fig.R
Figure 2: ./additional/figure_2/fig.R
Figure 3: ./main/31_BA_main.R
Figure 4: ./main/37_BAMF_main.R

Table 1: ./main/39_descriptives.R

Supplementary Materials: 

Table S.1: ./main/39_descriptives.R
Table S.2: ./main/32_BA_robust.R
Table S.3: ./main/31_BA_main.R
Table S.4: ./main/37_BAMF_main.R
Table S.5: ./main/37_BAMF_main.R
Table S.6: ./main/37_BAMF_main.R
Table S.7: ./main/38_BAMF_participation.R

Figure S.1: ./main/37_BA_histogram.R
Figure S.2: ./additional/figure_S2_S3/fig.R
Figure S.3: ./additional/figure_S2_S3/fig.R
Figure S.4: ./main/32_BA_robust.R
Figure S.5: ./main/32_BA_robust.R
Figure S.6: ./main/32_BA_robust.R
Figure S.7: ./main/32_BA_robust_bw.R
Figure S.8: ./main/32_BA_robust_donut.R
Figure S.9: ./main/32_BA_robust.R
Figure S.10: ./main/32_BA_robust.R
Figure S.11: ./main/35_BA_subsample.R
Figure S.12: ./main/35_BA_heterogeneity.R
Figure S.13: ./main/35_BA_heterogeneity.R
Figure S.14: ./main/37_BAMF_main.R
Figure S.15: ./main/37_BAMF_main.R
Figure S.16: ./main/37_BAMF_main.R